num1 = {1,2,3}
num2 = {3,4,5,6}
union = num1.union(num2)
print(union)
pri = num1 .intersection(num2)
print(pri)